package com.gxdf.uc.data;

import java.util.ArrayList;
import java.util.List;

import android.content.Context;
import android.util.AttributeSet;

public class Field {
	
	String name;
	String labelValue;
	
	String formatValidation;
	boolean required;
	boolean isCollection;
	int length=0;
	ArrayList<String> possibleValues = new ArrayList<String>();
	ArrayList<String> values = new ArrayList<String>();
	boolean modified=false;
	FieldType type;
	TypeDomain tipoDominio;
	String concepto;
	
	
	public Field() {
		super();
		// TODO Auto-generated constructor stub
	}

	
	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getLabelValue() {
		return labelValue;
	}


	public void setLabelValue(String labelValue) {
		this.labelValue = labelValue;
	}

	
	
	public boolean isRequired() {
		return required;
	}


	public void setRequired(boolean required) {
		this.required = required;
	}
	
	public void setFormatValidation(String formatValidation){
		this.formatValidation = formatValidation;
	}

	public String getFormatValidation() {
		return formatValidation;
	}

	
	public ArrayList<String> getPossibleValues() {
		return possibleValues;
	}

	public void setPossibleValues(ArrayList<String> possibleValues) {
		this.possibleValues = possibleValues;
	}
	
	
	public boolean isCollection() {
		return isCollection;
	}


	public void setCollection(boolean isCollection) {
		this.isCollection = isCollection;
	}


	public void setValues(ArrayList<String> values) {
		this.values = values;
	}
	
	

	public int getLength() {
		return length;
	}


	public void setLength(int length) {
		this.length = length;
	}


	public FieldType getType() {
		return type;
	}

	public void setType(FieldType type) {
		this.type = type;
	}
	
	public List<String> getValues(){
		return this.values;
	}


	public String getConcepto() {
		return concepto;
	}


	public void setConcepto(String concepto) {
		this.concepto = concepto;
	}


	public TypeDomain getTipoDominio() {
		return tipoDominio;
	}


	public void setTipoDominio(TypeDomain tipoDominio) {
		this.tipoDominio = tipoDominio;
	}
	
	

	
	

	
}
